package mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import pojo.User;

import java.util.List;

public interface IUserMapper {
    @Select("select * from user")
    List<User> getUserList();
    @Select("select * from user where userId=#{id}")
    User findUserById(@Param("id") Integer id);


}
